﻿using Script.UiSystem;
using Script.UiSystem.Room;
using SimpleTools.Json;
using UnityEngine;

namespace Script.NetSystem.Services.RoomAndBattle.RoomService.Handler
{
    public class SetLocalId : IRoomHandler
    {
        public void Handler(RoomController controller, JsonData jsonData)
        {
            GlobalCache.PlayerNetId = jsonData.GetInt("id");
        }
    }
}